[INFO] cloning repository https://github.com/museun/what_error
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/museun/what_error" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fwhat_error", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fwhat_error'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d7607e1cc025d83c4463b7bcd00d2573f3b5a01c
[INFO] building museun/what_error against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fwhat_error" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/museun/what_error on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/museun/what_error
[INFO] finished tweaking git repo https://github.com/museun/what_error
[INFO] tweaked toml for git repo https://github.com/museun/what_error written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/museun/what_error already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 86083fea18862d6411e4568496f997e4f1a0c86547429d16371f0bcb968b69ea
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "86083fea18862d6411e4568496f997e4f1a0c86547429d16371f0bcb968b69ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "86083fea18862d6411e4568496f997e4f1a0c86547429d16371f0bcb968b69ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86083fea18862d6411e4568496f997e4f1a0c86547429d16371f0bcb968b69ea", kill_on_drop: false }`
[INFO] [stdout] 86083fea18862d6411e4568496f997e4f1a0c86547429d16371f0bcb968b69ea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2af572f65a29163f212dfd653c81ff9944ee90dfb3411fbd2af2ad6581c846d7
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2af572f65a29163f212dfd653c81ff9944ee90dfb3411fbd2af2ad6581c846d7", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling ntapi v0.3.4
[INFO] [stderr]    Compiling pico-args v0.3.4
[INFO] [stderr]    Compiling what_error v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     shared::minwindef::{HLOCAL, LPCVOID},
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     shared::ntdef::{LANG_ENGLISH, MAKELANGID, SUBLANG_DEFAULT},
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     shared::winerror::ERROR_MR_MID_NOT_FOUND,
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     um::libloaderapi::{FreeLibrary, LoadLibraryExW, DONT_RESOLVE_DLL_REFERENCES},
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     um::winbase::{
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     um::winnt::{LPWSTR, PWSTR},
[INFO] [stdout]    |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:94:18
[INFO] [stdout]    |
[INFO] [stdout] 94 |     use std::os::windows::ffi::OsStrExt as _;
[INFO] [stdout]    |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ntrtl` in `ntapi`
[INFO] [stdout]    --> src/main.rs:168:31
[INFO] [stdout]     |
[INFO] [stdout] 168 |         match unsafe { ntapi::ntrtl::RtlNtStatusToDosError(err) } {
[INFO] [stdout]     |                               ^^^^^ could not find `ntrtl` in `ntapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/main.rs:96:36
[INFO] [stdout]    |
[INFO] [stdout] 96 |     unsafe fn pwstr_to_string(ptr: PWSTR) -> String {
[INFO] [stdout]    |                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryExW` in this scope
[INFO] [stdout]    --> src/main.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         LoadLibraryExW(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DONT_RESOLVE_DLL_REFERENCES` in this scope
[INFO] [stdout]    --> src/main.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |             DONT_RESOLVE_DLL_REFERENCES,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stdout]    --> src/main.rs:122:33
[INFO] [stdout]     |
[INFO] [stdout] 93  | fn format_error(code: i32) -> String {
[INFO] [stdout]     |                - help: you might be missing a type parameter: `<LPWSTR>`
[INFO] [stdout] ...
[INFO] [stdout] 122 |     let mut msg = MaybeUninit::<LPWSTR>::uninit();
[INFO] [stdout]     |                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageW` in this scope
[INFO] [stdout]    --> src/main.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |         FormatMessageW(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_HMODULE` in this scope
[INFO] [stdout]    --> src/main.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |             FORMAT_MESSAGE_FROM_HMODULE
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope
[INFO] [stdout]    --> src/main.rs:127:19
[INFO] [stdout]     |
[INFO] [stdout] 127 |                 | FORMAT_MESSAGE_FROM_SYSTEM
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_IGNORE_INSERTS` in this scope
[INFO] [stdout]    --> src/main.rs:128:19
[INFO] [stdout]     |
[INFO] [stdout] 128 |                 | FORMAT_MESSAGE_IGNORE_INSERTS
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_MAX_WIDTH_MASK` in this scope
[INFO] [stdout]    --> src/main.rs:129:19
[INFO] [stdout]     |
[INFO] [stdout] 129 |                 | FORMAT_MESSAGE_MAX_WIDTH_MASK
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_ALLOCATE_BUFFER` in this scope
[INFO] [stdout]    --> src/main.rs:130:19
[INFO] [stdout]     |
[INFO] [stdout] 130 |                 | FORMAT_MESSAGE_ALLOCATE_BUFFER,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope
[INFO] [stdout]    --> src/main.rs:131:23
[INFO] [stdout]     |
[INFO] [stdout] 131 |             module as LPCVOID,
[INFO] [stdout]     |                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKELANGID` in this scope
[INFO] [stdout]    --> src/main.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |             MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT) as u32,
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `LANG_ENGLISH` in this scope
[INFO] [stdout]    --> src/main.rs:133:24
[INFO] [stdout]     |
[INFO] [stdout] 133 |             MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT) as u32,
[INFO] [stdout]     |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SUBLANG_DEFAULT` in this scope
[INFO] [stdout]    --> src/main.rs:133:38
[INFO] [stdout]     |
[INFO] [stdout] 133 |             MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT) as u32,
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stdout]    --> src/main.rs:134:33
[INFO] [stdout]     |
[INFO] [stdout] 134 |             msg.as_mut_ptr() as LPWSTR,
[INFO] [stdout]     |                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope
[INFO] [stdout]    --> src/main.rs:141:14
[INFO] [stdout]     |
[INFO] [stdout] 141 |     unsafe { FreeLibrary(module) };
[INFO] [stdout]     |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LocalFree` in this scope
[INFO] [stdout]    --> src/main.rs:150:14
[INFO] [stdout]     |
[INFO] [stdout] 150 |     unsafe { LocalFree(msg as HLOCAL) };
[INFO] [stdout]     |              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HLOCAL` in this scope
[INFO] [stdout]    --> src/main.rs:150:31
[INFO] [stdout]     |
[INFO] [stdout] 150 |     unsafe { LocalFree(msg as HLOCAL) };
[INFO] [stdout]     |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/main.rs:106:10
[INFO] [stdout]     |
[INFO] [stdout] 106 |         .encode_wide()
[INFO] [stdout]     |          ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 27 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `what_error`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "2af572f65a29163f212dfd653c81ff9944ee90dfb3411fbd2af2ad6581c846d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2af572f65a29163f212dfd653c81ff9944ee90dfb3411fbd2af2ad6581c846d7", kill_on_drop: false }`
[INFO] [stdout] 2af572f65a29163f212dfd653c81ff9944ee90dfb3411fbd2af2ad6581c846d7
